projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cc06f6
)
gtk-demo: Set line height from markup
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 22 Aug 2021 17:48:26 +0000
(13:48 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 22 Aug 2021 19:15:50 +0000
(15:15 -0400)
Keep the import-markup code in sync with GtkTextBuffer.
demos/gtk-demo/fontify.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/fontify.c
b/demos/gtk-demo/fontify.c
index 8eb3c148f40202a04ec7887a24583a9c5ab50041..2ceeab94168c7ad58bee94881d40d0cb0726730c 100644
(file)
--- a/
demos/gtk-demo/fontify.c
+++ b/
demos/gtk-demo/fontify.c
@@
-257,6
+257,9
@@
insert_tags_for_attributes (GtkTextBuffer *buffer,
#if PANGO_VERSION_CHECK(1,49,0)
case PANGO_ATTR_LINE_HEIGHT:
+ FLOAT_ATTR (line_height);
+ break;
+
case PANGO_ATTR_ABSOLUTE_LINE_HEIGHT:
break;
#endif